package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.CouponRecords;
import com.ytjj.qmyx.mall.model.CouponRecordsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CouponRecordsMapper {
    long countByExample(CouponRecordsExample example);

    int deleteByExample(CouponRecordsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CouponRecords record);

    int insertSelective(CouponRecords record);

    List<CouponRecords> selectByExample(CouponRecordsExample example);

    CouponRecords selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CouponRecords record, @Param("example") CouponRecordsExample example);

    int updateByExample(@Param("record") CouponRecords record, @Param("example") CouponRecordsExample example);

    int updateByPrimaryKeySelective(CouponRecords record);

    int updateByPrimaryKey(CouponRecords record);
}